package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.business.AddBusinessDTO;
import com.qk.dto.business.QueryPageBusinessDTO;
import com.qk.dto.business.QueryPoolBusinessDTO;
import com.qk.dto.business.TrackBusinessDTO;
import com.qk.entity.Business;
import com.qk.vo.business.QueryBusinessVO;
import com.qk.vo.business.QueryPageBusinessVO;
import com.qk.vo.business.QueryPoolBusinessVO;

/**
 * @Author:gzc
 * @Date: 2025/10/06 21:54
 * @Description:
 */
public interface BusinessService extends IService<Business> {

    PageResult<QueryPageBusinessVO> queryListByPage(QueryPageBusinessDTO queryPageBusinessDTO);


    void addBusiness(AddBusinessDTO addBusinessDTO);


    void assignBusiness(Integer businessId, Integer userId);


    void backBusiness(Integer id);


    void businessToCustomer(Integer id);


    QueryBusinessVO queryById(Integer id);


    void trackBusiness(TrackBusinessDTO trackBusinessDTO);


    PageResult<QueryPoolBusinessVO> queryBusinessPool(QueryPoolBusinessDTO queryPoolBusinessDTO);
}
